package com.eaample.wexcle.demos.web;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@EnableDiscoveryClient//nacos注册
@SpringBootApplication(exclude = DataSourceAutoConfiguration.class)//（会自动去寻找数据库配置）由于是使用的阿里云没使用数据库，所以排除数据库的配置
public class OssApplication {
    public static void main(String[] args) {
        SpringApplication.run(OssApplication.class,args);
    }
}
